﻿using Newtonsoft.Json;
using System;
using System.Text.Json.Serialization;

namespace ThresholdAssistant.WebAPI.Models
{
    /// <summary>
    /// 发送模板消息响应
    /// </summary>
    [Serializable]
    public class WechatTemplateMessageResponse
    {
        /// <summary>
        /// 结果
        /// </summary>
        [JsonProperty("errcode"), JsonPropertyName("errcode")]
        public int ErrCode { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        [JsonProperty("errmsg"), JsonPropertyName("errmsg")]
        public string ErrMsg { get; set; }

        /// <summary>
        /// 消息
        /// </summary>
        [JsonProperty("msgid"), JsonPropertyName("msgid")]
        public string MsgId { get; set; }
    }
}